package feign.service;

import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

@Service
public class HystrixService implements FeignService {
    @Override
    public String serviceMonitorEnv(@RequestParam(value="sleep", defaultValue = "0") Long sleep) {
        return "fallback";
    }
}